﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSystem.WYJ.Dto.Ledger
{
    /// <summary>
    /// 出入库流水
    /// </summary>
    public class StockInandOutFlow
    {
        /// <summary>
        /// 入库编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 入库类型
        /// </summary>
        public string Type { get; set; }

        

        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime Date { get; set; }

        /// <summary>
        /// 仓库名称(外籍)
        /// </summary>
        [Description("仓库名称(外籍)")]
        public Guid Warehouseid { get; set; }


        /// <summary>
        /// 经办人
        /// </summary>
        [Description("经办人(外键)")]
        [MaxLength(50)]
        public Guid Manager { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        [Description("入库数量")]
        public int? Num { get; set; }

        /// <summary>
        /// 入库金额
        /// </summary>
        [Description("入库金额")]
        public decimal? Price { get; set; }
     

        /// <summary>
        /// 出库编号
        /// </summary>
        [Description("出库编号")]
        public string Codeout { get; set; }

        /// <summary>
        /// 出库类型
        /// </summary>
        public string Typeout { get; set; }

       

        /// <summary>
        /// 出库日期
        /// </summary>
        [Description("出库日期")]
        public DateTime Dateout { get; set; }
        /// <summary>
        /// 仓库名称(外籍)
        /// </summary>
        [Description("仓库名称(外籍)")]
        public Guid Warehouseidout { get; set; }



        /// <summary>
        /// 出库数量
        /// </summary>
        [Description("出库数量")]
        public int? Numout { get; set; }

        /// <summary>
        /// 出库金额
        /// </summary>
        [Description("出库金额")]
        public decimal? Priceout { get; set; }


    }
}
